-
Notifications
You must be signed in to change notification settings - Fork 625
[PWGJE] Add a new histogram for the DCAxy template fit #14609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
O2 linter results: ❌ 0 errors, |
PWGJE/Tasks/jetShape.cxx
Outdated
| registry.fill(HIST("tpcTofPiOutOfJet"), trkP, tpcPi, jet.ptCorr, centrality); | ||
| if (isTpcPiRange) { | ||
| registry.fill(HIST("pVsPtForPiOutOfJet"), trkP, trkPt, jet.ptCorr, centrality); | ||
| registry.fill(HIST("pVsPtForPiOutOfJet"), trkP, trkPt, jet.ptCorr, centrality, track.dcaXY()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while here the DCA is filled in addition, I think where the axes are defined for this histogram, you forgot to add the additional axis for DCA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your comment. As you pointed out, this fill was a mistake.
DCAxy is supposed to be filled into dcaPrOutOfJet, and I do not intend to fill DCAxy into jetpVsPtForPr.
Therefore, I removed track.dcaxy() from this line.
PWGJE/Tasks/jetShape.cxx
Outdated
| registry.fill(HIST("tpcTofPrOutOfJet"), trkP, tpcPr, jet.ptCorr, centrality); | ||
| if (isTpcPrRange) { | ||
| registry.fill(HIST("pVsPtForPrOutOfJet"), trkP, trkPt, jet.ptCorr, centrality); | ||
| registry.fill(HIST("pVsPtForPrOutOfJet"), trkP, trkPt, jet.ptCorr, centrality, track.dcaXY()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as above
PWGJE/Tasks/jetShape.cxx
Outdated
| // --- centrality --- | ||
| float centrality = mcCollision.centFT0M(); | ||
| float centrality = collisions.begin().centFT0M(); | ||
| // float centrality = mcCollision.centFT0M(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unused code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this unused line.
Add new histograms including DCAxy axis for the template fit